package sctu.edu.java.year2016.team01.zhuming.day20160605.practice;

import java.util.*;

/**
 * Created by Administrator on 2016/6/11.
 */
public class Cet {

    public static void main(String[] args) {
        List<String> list=new ArrayList<String>();


        list.add(1,"A");
        list.add(2,"a");
        list.add(3,"c");
        list.add(4,"C");
        list.add(5,"a");

        Iterator<String> it=list.iterator();
        while(it.hasNext())
            System.out.println("   "+it.next());
    }




}
